package com.example.demo.entity.Location;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;

import java.math.BigDecimal;

@Data
@Entity
@Table(name = "p_wa_location_stock")
public class Location {
    @Id
    private int id;
    @Column(name = "working_area_code")
    private String workingAreaCode;
    @Column(name = "location_code")
    private String locationCode;
    @Column(name = "goods_code")
    private String goodsCode;
    @Column(name = "batch_no")
    private String batchNo;
    @Column(name = "on_hand_qty")
    private BigDecimal onHandQty;
}
